<%@ page language="java" contentType="text/html; charset=UTF-8"
	isELIgnored="false" pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
	<form
		action="
        <c:choose>
    <c:when test="${sessionScope.gopay_webtest_URL_Name=='自定义'}">
    ${sessionScope.gopay_webtest_URL.dom}
    </c:when>
    <c:otherwise>
		${sessionScope.gopay_webtest_URL.dom}${sessionScope.gopay_webtest_URL.tradeQuery}
		    </c:otherwise>
    </c:choose>"
		name="returnfunc" id="returnfunc" method="POST">
		<input type="hidden" id="version" name="version" value="${goodsinfo.version}"> 
		<input type="hidden" id="tranCode" name="tranCode" value="${goodsinfo.tranCode}"> 
		<input type="hidden" id="merId" name="merId" value="${goodsinfo.merId}">
		<input type="hidden" id="merOrderNum" name="merOrderNum" value="${goodsinfo.merOrderNum }" size="50" />
		<input type="hidden" id="customerAccount" name="customerAccount" value="${goodsinfo.customerAccount }" size="50" />
		<input type="hidden" id="startDate" name="startDate" value="${goodsinfo.startDate }" size="50" />
		<input type="hidden" id="endDate" name="endDate" value="${goodsinfo.endDate }" size="50" />
		<input type="hidden" id="tranType" name="tranType" value="${goodsinfo.tranType }" size="50" /> 
		<input type="hidden" id="signType" name="signType" value="${goodsinfo.signType }" size="50" />
		<input type="hidden" id="tranIP" name="tranIP" value="${goodsinfo.tranIP }" size="50" />
		<input type="hidden" id="msgExt" name="msgExt" value="${goodsinfo.msgExt }" size="50" />
		<input type="hidden" id="merchantEncode" name="merchantEncode" value="${goodsinfo.merchantEncode }" size="50" />
		<input type="hidden" id="signValue" name="signValue" value="${goodsinfo.signValue }" size="50" />
		   
		   
	</form>
	<script type="text/javascript">
	if ($.browser.msie) {
		if (0 == window.history.length)
			$("#returnfunc").submit();
	} else if ($.browser.mozilla) {
		if (1 == window.history.length)
			$("#returnfunc").submit();
	} else if ($.browser.opera) {
		if (1 == window.history.length)
			$("#returnfunc").submit();
	} else {//for webkit(Safari, Chrome...)
		if (1 == window.history.length)
			$("#returnfunc").submit();
	}
	</script>
